package com.ssm.icc.card.dao.model.record;



import com.jee.ssm.common.core.base.BaseModel;
import com.ssm.icc.card.dao.model.card.Card;
import com.ssm.icc.card.dao.model.equipment.Equipment;

import java.util.Date;

/**
 * 
 * 表名 d_record
 * @author GaoXiang
 * @version 1.0
 * Create time 2017/04/21
 */
public class Record extends BaseModel {
    /**
     * 
     * 表字段 : d_record.id
     * Create time 2017/04/21
     */
    private String id;

    /**
     * 设备ID
     * 表字段 : d_record.equipment_id
     * Create time 2017/04/21
     */
    private String equipmentId;

    /**
     * 类型，1，开门
     * 表字段 : d_record.type
     * Create time 2017/04/21
     */
    private String type;

    /**
     * 开门类型  1，用卡开门，2，手机开门，3蓝牙开门
     * 表字段 : d_record.mode
     * Create time 2017/04/21
     */
    private String mode;

    /**
     * 卡ID
     * 表字段 : d_record.egcard_id
     * Create time 2017/04/21
     */
    private String egcardId;

    /**
     * 时间
     * 表字段 : d_record.open_time
     * Create time 2017/04/21
     */
    private Date openTime;

    /**
     * 抓拍照片
     * 表字段 : d_record.image
     * Create time 2017/04/21
     */
    private String image;

    private String hourNow;
    /**
     * 抓拍视频
     * 表字段 : d_record.video
     * Create time 2017/04/21
     */
    private String video;

    private String cardId;  // 门禁卡id
    private String userId;  // 用户id
    private String roomId;  // 房间id
    private String residenceId;  // 小区
    private String floor;  // 楼层
    private String unitId;  // 单元
    private String userName;  // 开门用户
    private String userAge;//用户年龄
    private String phone;
    private String cardName;//门禁卡编号
    private String equipmentName;//设备名称
    private String buildingName;
    private String residenceName;

    private String sensitiveStatus;

   private Equipment equipment;
    private Card card;
  /*  private User user;*/

    private String estateId;

    private  String  cardNumber;

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getEstateId() {
        return estateId;
    }

    public void setEstateId(String estateId) {
        this.estateId = estateId;
    }

    /**
     * 图表统计数量*
     */
    private Integer one;
    private Integer two;
    private Integer three;
    private Integer four;
    private Integer five;
    private Integer six;
    private Integer seven;
    private Integer eight;
    private Integer nine;
    private Integer ten;
    private Integer eleven;
    private Integer twelve;


    /**
     * 构造方法
     */
    public Record(String id, String equipmentId, String type, String mode, String egcardId, Date openTime, String image, String video) {
        this.id = id;
        this.equipmentId = equipmentId;
        this.type = type;
        this.mode = mode;
        this.egcardId = egcardId;
        this.openTime = openTime;
        this.image = image;
        this.video = video;
    }

    /**
     * 构造方法
     */
    public Record() {
        super();
    }

    /**
     * 
     * @return id 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 设备ID
     * @return equipment_id 设备ID
     */
    public String getEquipmentId() {
        return equipmentId;
    }

    /**
     * 设备ID
     * @param equipmentId 设备ID
     */
    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId;
    }

    /**
     * 类型，1，开门，2，关门
     * @return type 类型，1，开门，2，关门
     */
    public String getType() {
        return type;
    }

    /**
     * 类型，1，开门，2，关门
     * @param type 类型，1，开门，2，关门
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 开门类型
     * @return mode 开门类型
     */
    public String getMode() {
        return mode;
    }

    /**
     * 开门类型
     * @param mode 开门类型
     */
    public void setMode(String mode) {
        this.mode = mode;
    }

    /**
     * 卡ID
     * @return egcard_id 卡ID
     */
    public String getEgcardId() {
        return egcardId;
    }

    /**
     * 卡ID
     * @param egcardId 卡ID
     */
    public void setEgcardId(String egcardId) {
        this.egcardId = egcardId;
    }

    /**
     * 时间
     * @return open_time 时间
     */
    public Date getOpenTime() {
        return openTime;
    }

    /**
     * 时间
     * @param openTime 时间
     */
    public void setOpenTime(Date openTime) {
        this.openTime = openTime;
    }

    /**
     * 抓拍照片
     * @return image 抓拍照片
     */
    public String getImage() {
        return image;
    }

    /**
     * 抓拍照片
     * @param image 抓拍照片
     */
    public void setImage(String image) {
        this.image = image;
    }

    /**
     * 抓拍视频
     * @return video 抓拍视频
     */
    public String getVideo() {
        return video;
    }

    /**
     * 抓拍视频
     * @param video 抓拍视频
     */
    public void setVideo(String video) {
        this.video = video;
    }


    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getResidenceId() {
        return residenceId;
    }

    public void setResidenceId(String residenceId) {
        this.residenceId = residenceId;
    }

    public String getFloor() {
        return floor;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    public Equipment getEquipment() {
        return equipment;
    }

    public void setEquipment(Equipment equipment) {
        this.equipment = equipment;
    }

    public Card getCard() {
        return card;
    }

    public void setCard(Card card) {
        this.card = card;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public Integer getOne() {
        return one;
    }

    public void setOne(Integer one) {
        this.one = one;
    }

    public Integer getTwo() {
        return two;
    }

    public void setTwo(Integer two) {
        this.two = two;
    }

    public Integer getThree() {
        return three;
    }

    public void setThree(Integer three) {
        this.three = three;
    }

    public Integer getFour() {
        return four;
    }

    public void setFour(Integer four) {
        this.four = four;
    }

    public Integer getFive() {
        return five;
    }

    public void setFive(Integer five) {
        this.five = five;
    }

    public Integer getSix() {
        return six;
    }

    public void setSix(Integer six) {
        this.six = six;
    }

    public Integer getSeven() {
        return seven;
    }

    public void setSeven(Integer seven) {
        this.seven = seven;
    }

    public Integer getEight() {
        return eight;
    }

    public void setEight(Integer eight) {
        this.eight = eight;
    }

    public Integer getNine() {
        return nine;
    }

    public void setNine(Integer nine) {
        this.nine = nine;
    }

    public Integer getTen() {
        return ten;
    }

    public void setTen(Integer ten) {
        this.ten = ten;
    }

    public Integer getEleven() {
        return eleven;
    }

    public void setEleven(Integer eleven) {
        this.eleven = eleven;
    }

    public Integer getTwelve() {
        return twelve;
    }

    public void setTwelve(Integer twelve) {
        this.twelve = twelve;
    }

    public String getHourNow() {
        return hourNow;
    }

    public void setHourNow(String hourNow) {
        this.hourNow = hourNow;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getResidenceName() {
        return residenceName;
    }

    public void setResidenceName(String residenceName) {
        this.residenceName = residenceName;
    }

 /*   public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }*/

    public String getSensitiveStatus() {
        return sensitiveStatus;
    }

    public void setSensitiveStatus(String sensitiveStatus) {
        this.sensitiveStatus = sensitiveStatus;
    }

    public String getUserAge() {
        return userAge;
    }

    public void setUserAge(String userAge) {
        this.userAge = userAge;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}